Skip to content

Get ready for building service config into serverless docker image#719

Merged
qiwzhang merged 4 commits intocloudendpoints:masterfrom
qiwzhang:build_image_with_config
Oct 22, 2019
Merged

Get ready for building service config into serverless docker image#719
qiwzhang merged 4 commits intocloudendpoints:masterfrom
qiwzhang:build_image_with_config

Conversation

@qiwzhang
Copy link
Copy Markdown
Contributor

This PR just to get ESP code ready for building service config into serverless image
Separate pr will check in a script for users to build the image

  1. Provide a docker file to build service config into docker
  2. use flag --service_json_path to specify the service config, and enable it

@qiwzhang qiwzhang requested review from JLXIA, TAOXUY and nareddyt October 22, 2019 01:36
Comment thread docker/serverless/Dockerfile.with_config Outdated
Comment thread start_esp/start_esp.py
@qiwzhang qiwzhang merged commit 2f249f2 into cloudendpoints:master Oct 22, 2019
FROM _SERVERLESS_IMAGE

ENV ENDPOINTS_SERVICE_PATH /etc/nginx/service.json
COPY service.json ${ENDPOINTS_SERVICE_PATH}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious, where this service.json is generated?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question. I will have a separate PR to submit a shell script to use "gcloud" cli to download it and build the image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants